package com.rainszj.pojo.vo;

import com.rainszj.pojo.po.Tag;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 博客详情
 *
 * @author rainszj
 * 2020/3/16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DetailedBlog {

    private Long id;
    private String flag;
    private Integer views;
    private String title;
    private String content;
    private String firstPicture;
    private Date createTime;
    private String tagIds;
    /**
     * 是否允许评论
     */
    private boolean commentabled;
    /**
     * 显示支付二维码
     */
    private boolean appreciation;
    /**
     * 是否开启转载声明
     */
    private boolean shareStatement;;

    private String nickname;
    private String avatar;

    private List<Tag> tags = new ArrayList<Tag>();

}
